<script>
export default {
  data() {
    return {
      //搜索list
      inputList: [
        {
          name: '样例名称', //标题
          type: 'Input', //组件类型
          value: 'ajmc', //字段
          placeholder: '请输入样例名称', //文本提示
          style: {}, //样式
          otherConfig: {
            sourceData: [] //下拉数据
          }
        },
        {
          name: '样例性质',
          type: 'Select',
          value: 'ajxz',
          placeholder: '请选择样例性质',
          style: {},
          otherConfig: {
            sourceData: []
          }
        },
        {
          type: 'open'
        },
        {
          name: '样例机构',
          type: 'Select',
          value: 'bajg',
          placeholder: '请选择样例机构',
          style: {},
          otherConfig: {
            sourceData: []
          }
        },
        {
          name: '样例日期起',
          type: 'DatePicker',
          value: 'larqq',
          placeholder: '请选择样例日期起',
          style: {},
          otherConfig: {
            sourceData: []
          }
        },
        {
          name: '样例日期止',
          type: 'DatePicker',
          value: 'larqz',
          placeholder: '请选择样例日期止',
          style: {},
          otherConfig: {
            sourceData: []
          }
        },
        {
          name: '样例大要案',
          type: 'Select',
          value: 'daya',
          placeholder: '请选择样例大要案',
          style: {},
          otherConfig: {
            sourceData: [
              {
                content: '是',
                code: 1
              },
              {
                content: '否',
                code: 0
              }
            ]
          }
        }
      ],
      // 表格列v
      hreadList: [
        {
          name: '序号', //标题
          prop: 'index', //字段
          isShow: true, //是否显示
          toolshow: true, //开启鼠标指入列提示
          width: 80 //最小宽度
        },
        {
          name: '样例名称',
          prop: 'ajmc',
          isShow: true,
          width: 120,
          toolshow: true
        },
        {
          name: '样例性质',
          prop: 'ajxz',
          isShow: true,
          sortable: true,
          width: 120,
          toolshow: true
        },
        {
          name: '样例机关',
          prop: 'bajg',
          slot: true,
          isShow: true,
          toolshow: true,
          width: 200
        },
        {
          name: '样例日期',
          prop: 'larq',
          isShow: true,
          toolshow: true,
          width: 150
        },
        {
          name: '操作',
          prop: 'option',
          align: 'center',
          fixed: 'right',
          isShow: true,
          toolshow: false,
          width: 100
        }
      ]
    };
  },
  created() {},
  methods: {}
};
</script>
